#!/bin/bash

function sum ()
{
	result=$[$1 + $2]
	echo $result
}

read -p "请输入第一个数：" num1
read -p "请输入第二个数：" num2

sum $num1 $num2
